A New Class Cohesion Criterion:

نویسندگان

  • Linda Badri
  • Mourad Badri
چکیده

Class cohesion is considered as one of important object-oriented software attributes. Cohesion refers to the degree of the relatedness of the members in a class. High cohesion is a desirable property of classes. Several metrics have been proposed in the literature in order to measure class cohesion in object-oriented systems. They capture class cohesion in terms of connections among members within a class. The major existing class cohesion metrics are essentially based on instance variables usage criteria. It is a special and a restricted way of capturing class cohesion. Most of these metrics have been experimented and widely discussed in the literature. They do not take into account some characteristics of classes as stated in many papers. We believe that class cohesion metrics should not exclusively be based on common instance variables usage. We present, in this position paper, a new criterion, which focuses on interactions between class methods and propose a new class cohesion metric. We developed a cohesion measurement tool for Java programs and performed a case study on several systems. The selected test systems vary in size and domain. The obtained results demonstrate that our new class cohesion metric captures several pairs of related methods, which are not captured by the existing cohesion metrics. Index Terms OO Software Quality, Software Metrics, Cohesion, Criterion, Connected methods.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Proposal of a New Class Cohesion Criterion: An Empirical Study

Class cohesion refers to the degree of the relatedness of the members in a class. It is considered as one of most important object-oriented software attributes. Several metrics have been proposed in the literature in order to measure class cohesion in objectoriented systems. They capture class cohesion in terms of connections among members within a class. The major existing class cohesion metri...

متن کامل

Revisiting Class Cohesion: An empirical investigation on several systems

Class cohesion is considered as one of most important object-oriented software attributes. Cohesion refers to the degree of relatedness between members in a class. High cohesion is a desirable property of classes. Several metrics have been proposed in literature in order to measure class cohesion in object-oriented systems. They capture class cohesion in terms of connections between members wit...

متن کامل

Identification of Nominated Classes for Software Refactoring Using Object-Oriented Cohesion Metrics

The production of well-developed software reduces the cost of the software maintainability. Therefore, many software metrics have been developed to measure the quality of the software design. Measuring class cohesion is considered as one of the most important software quality measurements. Unfortunately, most of approaches that have been proposed on cohesion metrics do not consider the inherite...

متن کامل

Web-Based Measurements of Intra-collocational Cohesion in Oxford Collocations Dictionary

Cohesion between components of collocations is already acknowledged measurable by means of the Web, and cohesion measurements are used for some applications and extraction of new collocations. Taking a specific cohesion criterion SCI, we performed massive evaluations of collocate cohesion in Oxford Collocations Dictionary. For three groups of modificative collocations (adjectivenoun, adverbad...

متن کامل

Analyzing Slicing of Program through Cohesion Metric

This paper presents a new cohesion metric for a program which is used to analyze the slicing criterion. Based on the value of propose cohesion metric it is decided to perform slicing in a program or not. The propose cohesion metrics is also evaluated analytically against Weyuker’s Property and perform comparison with the existing cohesion metrics of Meyers et al. The results in this paper shows...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003